import lejos.nxt.Button;
import lejos.nxt.SensorPort;

public class TestListerner {
	public TestListerner() {
		SensorPort.S1.addSensorPortListener(new MySensorPortListener());
		while(Button.ESCAPE.isUp()) {
			
		}
	}
	
	public static void main(String[] args) {
		new TestListerner();
	}

}
